<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <ul class="nav nav-tabs" >
        <li class="active">
            <a href="#tab-general" data-toggle="tab" aria-expanded="false">基本信息</a>
        </li>
        <li class="">
            <a href="#tab-address" data-toggle="tab" aria-expanded="false">地址信息</a>
        </li>
        <li class="">
            <a href="#tab-content" data-toggle="tab" aria-expanded="false">详情描述</a>
        </li>
        <li class="">
            <a href="#tab-images" data-toggle="tab" aria-expanded="false">图片信息</a>
        </li>
        <!--<li class="">-->
        <!--    <a href="#tab-properties" data-toggle="tab" aria-expanded="false">小区概况</a>-->
        <!--</li>-->
        <li class="">
            <a href="#tab-orther" data-toggle="tab" aria-expanded="false">其他信息</a>
        </li>
    </ul>
    <div class="tab-content" style="padding-top: 10px;">
        <div class="tab-pane active" id="tab-general">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">副标题:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-subtitle" data-rule="required" class="form-control" name="row[subtitle]" type="text" value="{$row.subtitle|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">列表标签:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-subtitle" data-rule="required" class="form-control" name="row[list_labels]" type="text" value="{$row.list_labels|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Alias_name')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-alias_name" class="form-control" name="row[alias_name]" type="text" value="{$row.alias_name|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Sale_state')}:</label>
                <div class="col-xs-12 col-sm-8">

                    <div class="radio">
                    {foreach name="saleStateList" item="vo"}
                    <label for="row[sale_state]-{$key}"><input id="row[sale_state]-{$key}" name="row[sale_state]" type="radio" value="{$key}" {in name="key" value="$row.sale_state"}checked{/in} /> {$vo}</label>
                    {/foreach}
                    </div>

                </div>
            </div>
            <!--<div class="form-group">-->
            <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Is_low_price_protect')}:</label>-->
            <!--    <div class="col-xs-12 col-sm-8">-->

            <!--        <div class="radio">-->
            <!--        {foreach name="isLowPriceProtectList" item="vo"}-->
            <!--        <label for="row[is_low_price_protect]-{$key}"><input id="row[is_low_price_protect]-{$key}" name="row[is_low_price_protect]" type="radio" value="{$key}" {in name="key" value="$row.is_low_price_protect"}checked{/in} /> {$vo}</label>-->
            <!--        {/foreach}-->
            <!--        </div>-->

            <!--    </div>-->
            <!--</div>-->
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('是否热销首页推荐')}:</label>
                <div class="col-xs-12 col-sm-8">

                    <div class="radio">
                    {foreach name="isHotList" item="vo"}
                    <label for="row[is_hot]-{$key}"><input id="row[is_hot]-{$key}" name="row[is_hot]" type="radio" value="{$key}" {in name="key" value="$row.is_hot"}checked{/in} /> {$vo}</label>
                    {/foreach}
                    </div>

                </div>
            </div>

            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('售楼地址')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-discounts" class="form-control" name="row[discounts]" type="text" value="{$row.discounts|htmlentities}">
                </div>
            </div>
            <!--<div class="form-group">-->
            <!--    <label class="control-label col-xs-12 col-sm-2">{:__('首付价格信息')}:</label>-->
            <!--    <div class="col-xs-12 col-sm-8">-->
            <!--        <input id="c-first_price_msg" class="form-control" name="row[first_price_msg]" type="text" value="{$row.first_price_msg|htmlentities}">-->
            <!--    </div>-->
            <!--</div>-->
            <!--<div class="form-group">-->
            <!--    <label class="control-label col-xs-12 col-sm-2">{:__('热门信息')}:</label>-->
            <!--    <div class="col-xs-12 col-sm-8">-->
            <!--        <input id="c-hot_msg" class="form-control" name="row[hot_msg]" type="text" value="{$row.hot_msg|htmlentities}">-->
            <!--    </div>-->
            <!--</div>-->
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-price" data-rule="required" class="form-control" step="0.01" name="row[price]" type="number" value="{$row.price|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Unit_price')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-unit_price" data-rule="required" class="form-control" step="0.01" name="row[unit_price]" type="number" value="{$row.unit_price|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('新房户型房价')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <dl class="fieldlist" data-name="row[other_housing_prices]" data-template="community_overviewtpl">
                        <dd>
                            <ins>名称</ins>
                            <ins>值</ins>
                        </dd>
                        <dd>
                        <a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 追加</a>
                        </dd>
                        <textarea name="row[other_housing_prices]" class="form-control hide" cols="50" rows="5">{$row.other_housing_prices|htmlentities}</textarea>
                    </dl>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Average_price')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-average_price" data-rule="required" class="form-control" step="0.01" name="row[average_price]" type="number" value="{$row.average_price|htmlentities}">
                </div>
            </div>
            <!--<div class="form-group">-->
            <!--    <label class="control-label col-xs-12 col-sm-2">{:__('地图均价(元)')}:</label>-->
            <!--    <div class="col-xs-12 col-sm-8">-->
            <!--        <input id="c-average_map_price" data-rule="required" class="form-control" step="0.01" name="row[average_map_price]" type="number" value="{$row.average_map_price|htmlentities}">-->
            <!--    </div>-->
            <!--</div>-->
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('All_total_price')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-all_total_price" data-rule="required" class="form-control" step="0.01" name="row[all_total_price]" type="text" value="{$row.all_total_price|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Face')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-face" data-rule="required" class="form-control"  name="row[face]" type="text" value="{$row.face|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Purpose')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-purpose" data-rule="required" class="form-control"  name="row[purpose]" type="text" value="{$row.purpose|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Renovation')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-renovation" data-rule="required" class="form-control"  name="row[renovation]" type="text" value="{$row.renovation|htmlentities}">
                </div>
            </div>
            <!--<div class="form-group">-->
            <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Min_total_price')}:</label>-->
            <!--    <div class="col-xs-12 col-sm-8">-->
            <!--        <input id="c-min_total_price" data-rule="required" class="form-control" step="0.01" name="row[min_total_price]" type="number" value="{$row.min_total_price|htmlentities}">-->
            <!--    </div>-->
            <!--</div>-->
            <!--<div class="form-group">-->
            <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Max_total_price')}:</label>-->
            <!--    <div class="col-xs-12 col-sm-8">-->
            <!--        <input id="c-max_total_price" data-rule="required" class="form-control" step="0.01" name="row[max_total_price]" type="number" value="{$row.max_total_price|htmlentities}">-->
            <!--    </div>-->
            <!--</div>-->
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('House_type_id')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-house_type_id" data-rule="required" data-source="xiluhouse/house/housetype/index" data-params='{"custom[status]":"normal"}' class="form-control selectpage" name="row[house_type_id]" type="text" value="{$row.house_type_id|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('House_developer_id')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-house_developer_id"  data-source="xiluhouse/house/housedeveloper/index" data-params='{"custom[status]":"normal"}' class="form-control selectpage" name="row[house_developer_id]" type="text" value="{$row.house_developer_id|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('开发商')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-developers" class="form-control" name="row[developers]" type="text" value="{$row.developers|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('House_tag_ids')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-house_tag_ids" data-rule="required" data-source="xiluhouse/house/housetag/index" data-multiple="true" data-params='{"custom[classify]":1,"custom[status]":"normal"}' class="form-control selectpage" name="row[house_tag_ids]" type="text" value="{$row.house_tag_ids|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('房型')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-min_room_num" class="form-control" name="row[min_room_num]" type="text" value="{$row.min_room_num|htmlentities}">
                </div>
            </div>
            <!--<div class="form-group">-->
            <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Max_room_num')}:</label>-->
            <!--    <div class="col-xs-12 col-sm-8">-->
            <!--        <input id="c-max_room_num" class="form-control" name="row[max_room_num]" type="number" value="{$row.max_room_num|htmlentities}">-->
            <!--    </div>-->
            <!--</div>-->
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('面积')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-min_space" class="form-control"  name="row[min_space]" type="text" value="{$row.min_space|htmlentities}">
                </div>
            </div>
            <!--<div class="form-group">-->
            <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Max_space')}:</label>-->
            <!--    <div class="col-xs-12 col-sm-8">-->
            <!--        <input id="c-max_space" class="form-control" step="0.01" name="row[max_space]" type="number" value="{$row.max_space|htmlentities}">-->
            <!--    </div>-->
            <!--</div>-->


            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Room_num')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-room_num" class="form-control" step="1" name="row[room_num]" type="number" value="{$row.room_num|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Build_space')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-build_space" class="form-control" step="0.01" name="row[build_space]" type="number" value="{$row.build_space|htmlentities}">
                </div>
            </div>

            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Floor_num')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-floor_num" class="form-control" step="1" name="row[floor_num]" type="number" value="{$row.floor_num|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Floor')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-floor" class="form-control" step="1" name="row[floor]" type="number" value="{$row.floor|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Elevator_num')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-elevator_num" class="form-control" step="1" name="row[elevator_num]" type="number" value="{$row.elevator_num|htmlentities}">
                </div>
            </div>

            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('StepLadder_num')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-stepLadder_num" class="form-control" step="1" name="row[stepLadder_num]" type="number" value="{$row.stepLadder_num|htmlentities}">
                </div>
            </div>

            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-user_id" data-rule="required" data-source="xiluhouse/user/user/index" data-field="nickname" data-params='{"custom[userprofile.is_broker]":2}' class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">                </div>
            </div>

            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Opentime')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-opentime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[opentime]" type="text" value="{$row.opentime_text}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Deliverytime')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-deliverytime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[deliverytime]" type="text" value="{$row.deliverytime_text}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="{$row.weigh|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="radio">
                    {foreach name="statusList" item="vo"}
                    <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
                    {/foreach}
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">申请审核状态:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="radio">
                    {foreach name="statusList" item="vo"}
                    <label for="row[apply_status]-{$key}"><input id="row[apply_status]-{$key}" name="row[apply_status]" type="radio" value="{$key}" {in name="key" value="$row.apply_status"}checked{/in} /> {$vo}</label>
                    {/foreach}
                    </div>
                </div>
            </div>

            <div class="form-group">
              <label class="control-label col-xs-12 col-sm-2">{:__('审核状态')}:</label>
              <div class="col-xs-12 col-sm-8">
                <div class="radio">
                  {foreach name="checkStatusList" item="vo"}
                  <label for="row[check_status]-{$key}"><input id="row[check_status]-{$key}" name="row[check_status]" type="radio" value="{$key}" {in name="key" value="$row.check_status"}checked{/in} /> {$vo}</label>
                  {/foreach}
                </div>

              </div>
            </div>
        </div>
        <div class="tab-pane" id="tab-address">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">省市区街道:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="form-inline" data-toggle="cxselect" data-selects="prov,city,region,street">
                        <select class="prov form-control" data-rule="required" name="prov" data-url="xiluhouse/ajax/area">
                            <option value="{$row.prov}" selected="">{$row.prov}</option>
                        </select>
                        <select class="city form-control" data-rule="required" name="city" data-url="xiluhouse/ajax/area">
                            <option value="{$row.city}" selected="">{$row.city}</option>
                        </select>
                        <select class="region form-control" data-rule="required" name="region" data-url="xiluhouse/ajax/area">
                            <option value="{$row.region}" selected="">{$row.region}</option>
                        </select>
                        <select class="street form-control" data-rule="required" name="street" data-url="xiluhouse/ajax/area">
                            <option value="{$row.street}" selected="">{$row.street}</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Addr')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-addr" data-rule="required" class="form-control" name="row[addr]" type="text" value="{$row.addr|htmlentities}">
                </div>
            </div>
            <div style="color: #18bc9c;" data-toggle="addresspicker" data-lat-id="c-lat" data-lng-id="c-lng">点击这里打开地图选择经纬度（如果不填写经纬度，则会自动根据填写的地址生成经纬度）</div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Lat')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-lat" class="form-control" name="row[lat]" type="text" value="{$row.lat|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Lng')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-lng" class="form-control" name="row[lng]" type="text" value="{$row.lng|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Nearby_bus_num')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-nearby_bus_num" class="form-control" name="row[nearby_bus_num]" type="number" value="{$row.nearby_bus_num|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Nearby_subway_num')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-nearby_subway_num" class="form-control" name="row[nearby_subway_num]" type="number" value="{$row.nearby_subway_num|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Nearby_school_num')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-nearby_school_num" class="form-control" name="row[nearby_school_num]" type="number" value="{$row.nearby_school_num|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Nearby_shop_num')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-nearby_shop_num" class="form-control" name="row[nearby_shop_num]" type="number" value="{$row.nearby_shop_num|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Nearby_hospital_num')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-nearby_hospital_num" class="form-control" name="row[nearby_hospital_num]" type="number" value="{$row.nearby_hospital_num|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Nearby_bus_json')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <dl class="fieldlist" data-name="row[nearby_bus_json]" data-template="nearbybusjsontpl">
                        <dd>
                            <ins>名称</ins>
                            <ins>经度</ins>
                            <ins>纬度</ins>
                            <ins>距离</ins>
                        </dd>
                        <dd>
                        <a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 追加</a>
                        </dd>
                        <textarea name="row[nearby_bus_json]" class="form-control hide" cols="50" rows="5">{$row.nearby_bus_json|htmlentities}</textarea>
                    </dl>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Nearby_subway_json')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <dl class="fieldlist" data-name="row[nearby_subway_json]" data-template="nearbysubwayjsontpl">
                        <dd>
                            <ins>名称</ins>
                            <ins>经度</ins>
                            <ins>纬度</ins>
                            <ins>距离</ins>
                        </dd>
                        <dd>
                        <a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 追加</a>
                        </dd>
                        <textarea name="row[nearby_subway_json]" class="form-control hide" cols="50" rows="5">{$row.nearby_subway_json|htmlentities}</textarea>
                    </dl>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Nearby_school_json')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <dl class="fieldlist" data-name="row[nearby_school_json]" data-template="nearbyschooljsontpl">
                        <dd>
                            <ins>名称</ins>
                            <ins>经度</ins>
                            <ins>纬度</ins>
                            <ins>距离</ins>
                        </dd>
                        <dd>
                        <a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 追加</a>
                        </dd>
                        <textarea name="row[nearby_school_json]" class="form-control hide" cols="50" rows="5">{$row.nearby_school_json|htmlentities}</textarea>
                    </dl>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Nearby_shop_json')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <dl class="fieldlist" data-name="row[nearby_shop_json]" data-template="nearbyshopjsontpl">
                        <dd>
                            <ins>名称</ins>
                            <ins>经度</ins>
                            <ins>纬度</ins>
                            <ins>距离</ins>
                        </dd>
                        <dd>
                        <a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 追加</a>
                        </dd>
                        <textarea name="row[nearby_shop_json]" class="form-control hide" cols="50" rows="5">{$row.nearby_shop_json|htmlentities}</textarea>
                    </dl>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Nearby_hospital_json')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <dl class="fieldlist" data-name="row[nearby_hospital_json]" data-template="nearbyhospitaljsontpl">
                        <dd>
                            <ins>名称</ins>
                            <ins>经度</ins>
                            <ins>纬度</ins>
                            <ins>距离</ins>
                        </dd>
                        <dd>
                        <a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 追加</a>
                        </dd>
                        <textarea name="row[nearby_hospital_json]" class="form-control hide" cols="50" rows="5">{$row.nearby_hospital_json|htmlentities}</textarea>
                    </dl>
                </div>
            </div>

            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('subway_distance')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-subway_distance" disabled class="form-control" name="row[subway_distance]" type="number" value="{$row.subway_distance|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('subway_distance_text')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-subway_distance_text" disabled class="form-control" name="row[subway_distance_text]" type="text" value="{$row.subway_distance_text|htmlentities}">
                </div>
            </div>
        </div>
        <div class="tab-pane" id="tab-content">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <textarea id="c-content" class="form-control editor" rows="5" name="row[content]" cols="50">{$row.content|htmlentities}</textarea>
                </div>
            </div>
        </div>
        <div class="tab-pane" id="tab-images">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-image" data-rule="required" class="form-control" size="50" name="row[image]" type="text" value="{$row.image|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="plupload-image" class="btn btn-danger plupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-image"></span>
                    </div>
                    <ul class="row list-inline plupload-preview" id="p-image"></ul>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Build_image')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-build_image" class="form-control" size="50" name="row[build_image]" type="text" value="{$row.build_image|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="plupload-build_image" class="btn btn-danger plupload" data-input-id="c-build_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-build_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-build_image" class="btn btn-primary fachoose" data-input-id="c-build_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-build_image"></span>
                    </div>
                    <ul class="row list-inline plupload-preview" id="p-build_image"></ul>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <dl class="fieldlist images_fieldlist" data-name="row[images]" data-template="testtpl">
                        <dd>
<!--                            <ins>图片标注</ins>-->
                            <ins>图片</ins>
                        </dd>
                        <dd>
                        <a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 追加</a>
                        </dd>
                        <textarea name="row[images]" class="form-control hide" cols="30" rows="5">{$row.images}</textarea>
                    </dl>
                </div>
            </div>
          <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">VR封面图:</label>
            <div class="col-xs-12 col-sm-8">
              <div class="input-group">
                <input id="c-vr_image" class="form-control" size="50" name="row[vr_image]" type="text" value="{$row.vr_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                  <span><button type="button" id="plupload-vr_image" class="btn btn-danger plupload" data-input-id="c-vr_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-vr_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                  <span><button type="button" id="fachoose-vr_image" class="btn btn-primary fachoose" data-input-id="c-vr_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-vr_image"></span>
              </div>
              <ul class="row list-inline plupload-preview" id="p-vr_image"></ul>
            </div>
          </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Vr_url')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-vr_url" class="form-control" size="50" name="row[vr_url]" type="text" value="{$row.vr_url|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="plupload-vr_url" class="btn btn-danger plupload" data-input-id="c-vr_url" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-vr_url"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-vr_url" class="btn btn-primary fachoose" data-input-id="c-vr_url" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-vr_url"></span>
                    </div>
                    <ul class="row list-inline plupload-preview" id="p-vr_url"></ul>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('House_type_image')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-house_type_image" class="form-control" size="50" name="row[house_type_image]" type="text" value="{$row.house_type_image|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="plupload-house_type_image" class="btn btn-danger plupload" data-input-id="c-house_type_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-house_type_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-house_type_image" class="btn btn-primary fachoose" data-input-id="c-house_type_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-house_type_image"></span>
                    </div>
                    <ul class="row list-inline plupload-preview" id="p-house_type_image"></ul>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('视频1图片')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-video_one" class="form-control" size="50" name="row[video_one]" type="text" value="{$row.video_one|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="plupload-video_one" class="btn btn-danger plupload" data-input-id="c-video_one" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-video_one"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-video_one" class="btn btn-primary fachoose" data-input-id="c-video_one" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-video_one"></span>
                    </div>
                    <ul class="row list-inline plupload-preview" id="p-video_one"></ul>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('视频1链接')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-video_one_url" class="form-control" name="row[video_one_url]" type="text" value="{$row.video_one_url|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('视频2图片')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-video_two" class="form-control" size="50" name="row[video_two]" type="text" value="{$row.video_two|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="plupload-video_two" class="btn btn-danger plupload" data-input-id="c-video_two" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-video_two"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-video_two" class="btn btn-primary fachoose" data-input-id="c-video_two" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-video_two"></span>
                    </div>
                    <ul class="row list-inline plupload-preview" id="p-video_two"></ul>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('视频2链接')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-video_two_url" class="form-control" name="row[video_two_url]" type="text" value="{$row.video_two_url|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('效果图')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-rendering_map" class="form-control" size="50" name="row[rendering_map]" type="text" value="{$row.rendering_map|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="plupload-rendering_map" class="btn btn-danger plupload" data-input-id="c-rendering_map" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-rendering_map"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-rendering_map" class="btn btn-primary fachoose" data-input-id="c-rendering_map" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-rendering_map"></span>
                    </div>
                    <ul class="row list-inline plupload-preview" id="p-rendering_map"></ul>
                </div>
            </div>

            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('区位图')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-area_map" class="form-control" size="50" name="row[area_map]" type="text" value="{$row.area_map|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="plupload-area_map" class="btn btn-danger plupload" data-input-id="c-area_map" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-area_map"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-area_map" class="btn btn-primary fachoose" data-input-id="c-area_map" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-area_map"></span>
                    </div>
                    <ul class="row list-inline plupload-preview" id="p-area_map"></ul>
                </div>
            </div>


        </div>

        <div class="tab-pane" id="tab-properties">


            <!--<div class="form-group">-->
            <!--    <label class="control-label col-xs-12 col-sm-2">{:__('绿化率')}:</label>-->
            <!--    <div class="col-xs-12 col-sm-8">-->
            <!--        <input id="c-house_greening_rate" data-rule="required" class="form-control" name="row[house_greening_rate]" type="text" value="{$row.house_greening_rate|htmlentities}">-->
            <!--    </div>-->
            <!--</div>-->
            <!--<div class="form-group">-->
            <!--    <label class="control-label col-xs-12 col-sm-2">{:__('容积率')}:</label>-->
            <!--    <div class="col-xs-12 col-sm-8">-->
            <!--        <input id="c-house_plot_ratio" data-rule="required" class="form-control" name="row[house_plot_ratio]" type="text" value="{$row.house_plot_ratio|htmlentities}">-->
            <!--    </div>-->
            <!--</div>-->
            <!--<div class="form-group">-->
            <!--    <label class="control-label col-xs-12 col-sm-2">{:__('车位比例')}:</label>-->
            <!--    <div class="col-xs-12 col-sm-8">-->
            <!--        <input id="c-house_proportion_parking_spaces" data-rule="required" class="form-control" name="row[house_proportion_parking_spaces]" type="text" value="{$row.house_proportion_parking_spaces|htmlentities}">-->
            <!--    </div>-->
            <!--</div>-->
            <!--<div class="form-group">-->
            <!--    <label class="control-label col-xs-12 col-sm-2">{:__('物业公司')}:</label>-->
            <!--    <div class="col-xs-12 col-sm-8">-->
            <!--        <input id="c-house_property" data-rule="required" class="form-control" name="row[house_property]" type="text" value="{$row.house_property|htmlentities}">-->
            <!--    </div>-->
            <!--</div>-->
            <!--<div class="form-group">-->
            <!--    <label class="control-label col-xs-12 col-sm-2">{:__('物业费用')}:</label>-->
            <!--    <div class="col-xs-12 col-sm-8">-->
            <!--        <input id="c-house_property_expenses" data-rule="required" class="form-control" name="row[house_property_expenses]" type="text" value="{$row.house_property_expenses|htmlentities}">-->
            <!--    </div>-->
            <!--</div>-->
            <!--<div class="form-group">-->
            <!--    <label class="control-label col-xs-12 col-sm-2">{:__('小区特点')}:</label>-->
            <!--    <div class="col-xs-12 col-sm-8">-->
            <!--        <input id="c-house_characteristics_community" data-rule="required" class="form-control" name="row[house_characteristics_community]" type="text" value="{$row.house_characteristics_community|htmlentities}">-->
            <!--    </div>-->
            <!--</div>-->
            <!--<div class="form-group">-->
            <!--    <label class="control-label col-xs-12 col-sm-2">{:__('绿色建筑')}:</label>-->
            <!--    <div class="col-xs-12 col-sm-8">-->
            <!--        <input id="c-house_green_building" data-rule="required" class="form-control" name="row[house_green_building]" type="text" value="{$row.house_green_building|htmlentities}">-->
            <!--    </div>-->
            <!--</div>-->

        </div>


        <div class="tab-pane" id="tab-orther">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Building_descript')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <dl class="fieldlist" data-name="row[building_descript]" data-template="building_descripttpl">
                        <dd>
                            <ins>名称</ins>
                            <ins>值</ins>
                        </dd>
                        <dd>
                        <a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 追加</a>
                        </dd>
                        <textarea name="row[building_descript]" class="form-control hide" cols="50" rows="5">{$row.building_descript|htmlentities}</textarea>
                    </dl>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Property_descript')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <dl class="fieldlist" data-name="row[property_descript]" data-template="property_descripttpl">
                        <dd>
                            <ins>名称</ins>
                            <ins>值</ins>
                        </dd>
                        <dd>
                        <a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 追加</a>
                        </dd>
                        <textarea name="row[property_descript]" class="form-control hide" cols="50" rows="5">{$row.property_descript|htmlentities}</textarea>
                    </dl>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('小区概况')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <dl class="fieldlist" data-name="row[community_overview]" data-template="community_overviewtpl">
                        <dd>
                            <ins>名称</ins>
                            <ins>值</ins>
                        </dd>
                        <dd>
                        <a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 追加</a>
                        </dd>
                        <textarea name="row[community_overview]" class="form-control hide" cols="50" rows="5">{$row.community_overview|htmlentities}</textarea>
                    </dl>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('预售许可证')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <dl class="fieldlist" data-name="row[pre_sale_permit]" data-template="pre_sale_permittpl">
                        <dd>
                            <ins>名称</ins>
                            <ins>值</ins>
                        </dd>
                        <dd>
                        <a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 追加</a>
                        </dd>
                        <textarea name="row[pre_sale_permit]" class="form-control hide" cols="50" rows="5">{$row.pre_sale_permit|htmlentities}</textarea>
                    </dl>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('销售信息')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <dl class="fieldlist" data-name="row[sales]" data-template="salestpl">
                        <dd>
                            <ins>名称</ins>
                            <ins>值</ins>
                        </dd>
                        <dd>
                        <a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 追加</a>
                        </dd>
                        <textarea name="row[sales]" class="form-control hide" cols="50" rows="5">{$row.sales|htmlentities}</textarea>
                    </dl>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('其他信息')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <dl class="fieldlist" data-name="row[other_information]" data-template="other_informationtpl">
                        <dd>
                            <ins>名称</ins>
                            <ins>值</ins>
                        </dd>
                        <dd>
                        <a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 追加</a>
                        </dd>
                        <textarea name="row[other_information]" class="form-control hide" cols="50" rows="5">{$row.other_information|htmlentities}</textarea>
                    </dl>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('生活环境')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-environment" class="form-control" name="row[environment]" type="text" value="{$row.environment|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Cosult_tel')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-cosult_tel" class="form-control" name="row[cosult_tel]" type="text" value="{$row.cosult_tel|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('居住环境信息')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-residential_environment_information" class="form-control" name="row[residential_environment_information]" type="text" value="{$row.residential_environment_information|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('View_num')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-view_num" disabled class="form-control" name="row[view_num]" type="number" value="{$row.view_num|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('车位信息')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-parking_space_information" class="form-control" name="row[parking_space_information]" type="text" value="{$row.parking_space_information|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Sale_num')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-sale_num" disabled class="form-control" name="row[sale_num]" type="number" value="{$row.sale_num|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Collect_num')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-collect_num" disabled class="form-control" name="row[collect_num]" type="number" value="{$row.collect_num|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Receive_num')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-receive_num" disabled class="form-control" name="row[receive_num]" type="number" value="{$row.receive_num|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Viewtime')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-viewtime" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[viewtime]" type="text" value="{:$row.viewtime?datetime($row.viewtime):''}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Saletime')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-saletime" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[saletime]" type="text" value="{:$row.saletime?datetime($row.saletime):''}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Collecttime')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-collecttime" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[collecttime]" type="text" value="{:$row.collecttime?datetime($row.collecttime):''}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Recievetime')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-recievetime" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[recievetime]" type="text" value="{:$row.recievetime?datetime($row.recievetime):''}">
                </div>
            </div>
        </div>

    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>

<!--定义模板-->
<script type="text/html" id="testtpl">
    <dd class="form-inline">
<!--        <input type="text" name="row[<%=name%>][<%=index%>][name]" class="form-control" value="<%=row['name']%>" size="10">-->

        <div class="input-group">
            <input id="c-images<%=index%>" type="textarea" name="row[<%=name%>][<%=index%>][images]" class="form-control" value="<%=row['images']%>">
            <div class="input-group-addon no-border no-padding">
                <span><button type="button" id="plupload-images<%=index%>" class="btn btn-danger plupload" data-input-id="c-images<%=index%>" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-images<%=index%>"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                <span><button type="button" id="fachoose-images<%=index%>" class="btn btn-primary fachoose" data-input-id="c-images<%=index%>" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
            </div>
            <span class="msg-box n-right" for="c-images<%=index%>"></span>
        </div>
        <ul style="margin-bottom: 10px;" class="row list-inline plupload-preview" id="p-images<%=index%>"></ul>
        <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span> <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
    </dd>
</script>
<script type="text/html" id="community_overviewtpl">
    <dd class="form-inline">
        <input type="text" name="row[<%=name%>][<%=index%>][name]" class="form-control" value="<%=row['name']%>" size="10">
        <input type="text" name="row[<%=value%>][<%=index%>][value]" class="form-control" value="<%=row['value']%>" size="10">
        <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span> <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
    </dd>
</script>
<script type="text/html" id="pre_sale_permittpl">
    <dd class="form-inline">
        <input type="text" name="row[<%=name%>][<%=index%>][name]" class="form-control" value="<%=row['name']%>" size="10">
        <input type="text" name="row[<%=value%>][<%=index%>][value]" class="form-control" value="<%=row['value']%>" size="10">
        <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span> <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
    </dd>
</script>
<script type="text/html" id="salestpl">
    <dd class="form-inline">
        <input type="text" name="row[<%=name%>][<%=index%>][name]" class="form-control" value="<%=row['name']%>" size="10">
        <input type="text" name="row[<%=value%>][<%=index%>][value]" class="form-control" value="<%=row['value']%>" size="10">
        <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span> <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
    </dd>
</script>
<script type="text/html" id="other_informationtpl">
    <dd class="form-inline">
        <input type="text" name="row[<%=name%>][<%=index%>][name]" class="form-control" value="<%=row['name']%>" size="10">
        <input type="text" name="row[<%=value%>][<%=index%>][value]" class="form-control" value="<%=row['value']%>" size="10">
        <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span> <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
    </dd>
</script>
<script type="text/html" id="building_descripttpl">
    <dd class="form-inline">
        <input type="text" name="row[<%=name%>][<%=index%>][name]" class="form-control" value="<%=row['name']%>" size="10">
        <input type="text" name="row[<%=value%>][<%=index%>][value]" class="form-control" value="<%=row['value']%>" size="10">
        <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span> <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
    </dd>
</script>
<script type="text/html" id="property_descripttpl">
    <dd class="form-inline">
        <input type="text" name="row[<%=name%>][<%=index%>][name]" class="form-control" value="<%=row['name']%>" size="10">
        <input type="text" name="row[<%=value%>][<%=index%>][value]" class="form-control" value="<%=row['value']%>" size="10">
        <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span> <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
    </dd>
</script>
<script type="text/html" id="nearbybusjsontpl">
    <dd class="form-inline">
        <input type="text" name="row[<%=name%>][<%=index%>][name]" class="form-control" placeholder="名称" value="<%=row['name']%>" size="10">
        <input type="text" id="nearby_lng_bus_<%=index%>" name="row[<%=name%>][<%=index%>][lng]" placeholder="经度" class="form-control" value="<%=row['lng']%>" size="10">
        <input type="text" id="nearby_lat_bus_<%=index%>" name="row[<%=name%>][<%=index%>][lat]" placeholder="纬度" class="form-control" value="<%=row['lat']%>" size="10">
        <input type="text" name="row[<%=distance%>][<%=index%>][distance]" class="form-control" placeholder="距离" value="<%=row['distance']%>" size="10">
        <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span> <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
        <div style="color: #18bc9c;" data-toggle="addresspicker" data-lat-id="nearby_lat_bus_<%=index%>" data-lng-id="nearby_lng_bus_<%=index%>">点击这里打开地图选择经纬度（如果不填写经纬度，则会自动根据填写的地址生成经纬度）</div>
    </dd>
</script>
<script type="text/html" id="nearbysubwayjsontpl">
    <dd class="form-inline">
        <input type="text" name="row[<%=name%>][<%=index%>][name]" class="form-control" placeholder="名称" value="<%=row['name']%>" size="10">
        <input type="text" id="nearby_lng_subway_<%=index%>" name="row[<%=name%>][<%=index%>][lng]" placeholder="经度" class="form-control" value="<%=row['lng']%>" size="10">
        <input type="text" id="nearby_lat_subway_<%=index%>" name="row[<%=name%>][<%=index%>][lat]" placeholder="纬度" class="form-control" value="<%=row['lat']%>" size="10">
        <input type="text" name="row[<%=distance%>][<%=index%>][distance]" class="form-control" placeholder="距离" value="<%=row['distance']%>" size="10">
        <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span> <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
        <div style="color: #18bc9c;" data-toggle="addresspicker" data-lat-id="nearby_lat_subway_<%=index%>" data-lng-id="nearby_lng_subway_<%=index%>">点击这里打开地图选择经纬度（如果不填写经纬度，则会自动根据填写的地址生成经纬度）</div>
    </dd>
</script>
<script type="text/html" id="nearbyschooljsontpl">
    <dd class="form-inline">
        <input type="text" name="row[<%=name%>][<%=index%>][name]" class="form-control" placeholder="名称" value="<%=row['name']%>" size="10">
        <input type="text" id="nearby_lng_school_<%=index%>" name="row[<%=name%>][<%=index%>][lng]" placeholder="经度" class="form-control" value="<%=row['lng']%>" size="10">
        <input type="text" id="nearby_lat_school_<%=index%>" name="row[<%=name%>][<%=index%>][lat]" placeholder="纬度" class="form-control" value="<%=row['lat']%>" size="10">
        <input type="text" name="row[<%=distance%>][<%=index%>][distance]" class="form-control" placeholder="距离" value="<%=row['distance']%>" size="10">
        <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span> <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
        <div style="color: #18bc9c;" data-toggle="addresspicker" data-lat-id="nearby_lat_school_<%=index%>" data-lng-id="nearby_lng_school_<%=index%>">点击这里打开地图选择经纬度（如果不填写经纬度，则会自动根据填写的地址生成经纬度）</div>
    </dd>
</script>
<script type="text/html" id="nearbyshopjsontpl">
    <dd class="form-inline">
        <input type="text" name="row[<%=name%>][<%=index%>][name]" class="form-control" placeholder="名称" value="<%=row['name']%>" size="10">
        <input type="text" id="nearby_lng_shop_<%=index%>" name="row[<%=name%>][<%=index%>][lng]" class="form-control" placeholder="经度" value="<%=row['lng']%>" size="10">
        <input type="text" id="nearby_lat_shop_<%=index%>" name="row[<%=name%>][<%=index%>][lat]" class="form-control" placeholder="纬度" value="<%=row['lat']%>" size="10">
        <input type="text" name="row[<%=distance%>][<%=index%>][distance]" class="form-control" placeholder="距离" value="<%=row['distance']%>" size="10">
        <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span> <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
        <div style="color: #18bc9c;" data-toggle="addresspicker" data-lat-id="nearby_lat_shop_<%=index%>" data-lng-id="nearby_lng_shop_<%=index%>">点击这里打开地图选择经纬度（如果不填写经纬度，则会自动根据填写的地址生成经纬度）</div>
    </dd>
</script>
<script type="text/html" id="nearbyhospitaljsontpl">
    <dd class="form-inline">
        <input type="text" name="row[<%=name%>][<%=index%>][name]" class="form-control" placeholder="名称" value="<%=row['name']%>" size="10">
        <input type="text" id="nearby_lng_hospital_<%=index%>" name="row[<%=name%>][<%=index%>][lng]" placeholder="经度" class="form-control" value="<%=row['lng']%>" size="10">
        <input type="text" id="nearby_lat_hospital_<%=index%>" name="row[<%=name%>][<%=index%>][lat]" placeholder="纬度" class="form-control" value="<%=row['lat']%>" size="10">
        <input type="text" name="row[<%=distance%>][<%=index%>][distance]" class="form-control" placeholder="距离" value="<%=row['distance']%>" size="10">
        <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span> <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
        <div style="color: #18bc9c;" data-toggle="addresspicker" data-lat-id="nearby_lat_hospital_<%=index%>" data-lng-id="nearby_lng_hospital_<%=index%>">点击这里打开地图选择经纬度（如果不填写经纬度，则会自动根据填写的地址生成经纬度）</div>
    </dd>
</script>
